package movieGandalf.search;

import java.math.BigInteger;


public class ActorIDParam implements SearchParam{
	
	private BigInteger actorID;
	
	public ActorIDParam(BigInteger actorID){
		this.actorID = actorID;
	}
	
	public String getParam() {
		return "MovieActors.actorID=?";
	}
	
	public Object getValue(){
		return actorID;
	}
	
	public String getJoin(){
		return "INNER JOIN MovieActors ON MoviesWithData.movieID=MovieActors.movieID";
	}
	
	public boolean isParamOnJoin(){
		return false;
	}
	
}
